package com.xqboss.apps.domain.hama;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableField;
import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.hama.HamaConfigNumberPeopleEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 助力灵池
 * </p>
 *
 * @author admin
 * @since 2024-02-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HamaHelp对象", description="助力灵池")
public class HamaHelp extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    private Long id;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "邀请人id（队长id）")
    private Long parentUserId;

    @ApiModelProperty(value = "邀请人昵称")
    private String parentUserNick;

    @ApiModelProperty(value = "被邀请人id")
    private Long childUserId;

    @ApiModelProperty(value = "被邀请人昵称")
    private String userNick;

    @ApiModelProperty(value = "被邀请人是否实名（默认false-未实名）")
    private Boolean isRealName;

    @ApiModelProperty(value = "1新人 2老人 4队长")
    private HamaConfigNumberPeopleEnum isPeople;

    @ApiModelProperty(value = "开始生产时间(新人才有)")
    private Date startProductionTime;

    @ApiModelProperty(value = "雇佣结束时间(新人才有)")
    private Date hireTime;

    @ApiModelProperty(value = "使用藏品（手环）数量")
    private Integer number;

    @ApiModelProperty(value = "基本速度（1分钟多少天灵珠）失效就是0")
    private BigDecimal basicSpeed;

    @ApiModelProperty(value = "总共助力空投力豆数量（直推）")
    private BigDecimal eggLayingNum;

    @ApiModelProperty(value = "总共助力空投力豆数量（间推）")
    private BigDecimal eggLayingNumIndirect;

    @ApiModelProperty("队友类型（1-直推 2-间推）")
    @TableField(exist = false)
    private Integer type;
}
